package com.jiazhong.cloud.governance.consumer.ribbon.controller;

import com.jiazhong.cloud.governance.consumer.ribbon.service.ConsumerRibbonService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/consumer_ribbon")
public class ConsumerRibbonController {
    @Resource
    private ConsumerRibbonService consumerRibbonService;

    @GetMapping
    public String hello(){
        return consumerRibbonService.hello();
    }
}
